<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<h2>{{msg}}</h2>
<script>
setTimeout(function() {
    // 使用history.back()返回上一页
    history.back();
}, 3000);
</script>

</body>
</html>